<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:useBean id="dbAgentStatusBean" scope="request" type="com.googlecode.monitoring.web.DbAgentStatusBean"/>
<jsp:useBean id="wsAgentStatusBean" scope="request" type="com.googlecode.monitoring.web.WsAgentStatusBean"/>
<jsp:useBean id="flashAgentStatusBean" scope="request" type="com.googlecode.monitoring.web.FlashAgentStatusBean"/>
<jsp:useBean id="dbItems" scope="request" type="java.util.List<com.googlecode.monitoring.db.model.DbItemToCheck>"/>
<jsp:useBean id="wsItems" scope="request" type="java.util.List<com.googlecode.monitoring.ws.model.WsItemToCheck>"/>
<jsp:useBean id="flashItems" scope="request" type="java.util.List<com.googlecode.monitoring.flash.model.FlashItemToCheck>"/>
<jsp:useBean id="detail" scope="request" type="java.lang.String"/>
<h1>
    ${title}
</h1>



<div class="sumPanel">
    <jsp:include page="monitoringDbSummary.jsp"/>
    <% if (dbAgentStatusBean.isDataFound() && !"db".equals(detail)) {%>
        <a href="monitoringDBDetails.html"><h3>Detail</h3></a>
    <%} else { %>
        <h3>Detail</h3>
    <%}%>
</div>

<div class="sumPanel">
    <jsp:include page="monitoringWsSummary.jsp"/>
    <%if (wsAgentStatusBean.isDataFound() && !"ws".equals(detail)) {%>
        <a href="monitoringWSDetails.html"><h3>Detail</h3></a>
    <%} else { %>
        <h3>Detail</h3>
    <%}%>
</div>

<div class="sumPanel">
    <jsp:include page="monitoringWebSummary.jsp"/>
    <%if (dbAgentStatusBean.isDataFound() && !"web".equals(detail)) {%>
        <a href="monitoringWebDetails.html"><h3>Detail</h3></a>
    <%} else { %>
        <h3>Detail</h3>
    <%}%>
</div>

<div class="sumPanel">
    <jsp:include page="monitoringFlashSummary.jsp"/>
    <%if (flashAgentStatusBean.isDataFound() && !"flash".equals(detail)) {%>
        <a href="monitoringFlashDetails.html"><h3>Detail</h3></a>
    <%} else { %>
        <h3>Detail</h3>
    <%}%>
</div>